@charset "UTF-8";
.l-btn {
  text-decoration: none;
  display: inline-block;
  margin: 0;
  padding: 0;
  cursor: pointer;
  outline: none;
  text-align: center;
  vertical-align: middle;
  color: $button2-l-btn-color;     //detail 按钮字体颜色
  background:$button2-l-btn-background;   //detail 背景颜色
  //background-repeat: repeat-x;
  border: 1px solid $button2-l-btn-border-color; //detail 边框颜色
//background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%);
//background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%);
//background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%);
//background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%);
//background-repeat: repeat-x;
//filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0);
  -moz-border-radius: 5px 5px 5px 5px;
  -webkit-border-radius: 5px 5px 5px 5px;
  border-radius: 5px 5px 5px 5px;
  span {
    span {
      .l-btn-empty {
        display: inline-block;
        margin: 0;
        width: 16px;
        height: 24px;
        font-size: 1px;
        vertical-align: top;
      }
    }
    .l-btn-icon-left {
      padding: 0 0 0 20px;
      background-position: left center;
    }
    .l-btn-icon-right {
      padding: 0 20px 0 0;
      background-position: right center;
    }
  }
  &:hover {
    background: $button2-l-btn-background-hover;  //detail 鼠标移动时背景颜色
    color: $button2-l-btn-color-hover;  //detail 鼠标移动时字体颜色
    //border: 1px solid $common-border-color1; //鼠标移动时边框颜色
    filter: none;
  }
}
.l-btn-plain {
  border: 0;
  padding: 1px;
  background: transparent;
  border: 0;
  filter: none;
  position: relative;
  top: 1px;
  left: 0px;
  &:hover {
    padding: 0;
    background: $button2-l-btn-background-hover;   //detail 被选中是背景颜色
    color: $button2-l-btn-color-hover;             //detail 被选中是文字颜色
    //border: 1px solid $common-border-color1;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
  }
}
.l-btn-disabled {
  color: #ccc;
  opacity: 0.5;
  filter: alpha(opacity=50);
  cursor: default;
}
.l-btn-left {
  color: $dev-header-text-color; //detail 开发端头部菜单栏字体颜色
  display: inline-block;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
  vertical-align: top;
  .l-btn-empty {
    margin: 0 4px;
    width: 16px;
  }
}
.l-btn-text {
  display: inline-block;
  vertical-align: top;
  width: auto;
  line-height: 24px;
  font-size: 12px;
  padding: 0;
  margin: 0 4px;
}
.l-btn-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  line-height: 16px;
  position: absolute;
  top: 50%;
  margin-top: -8px;
  font-size: 1px;
}
.l-btn-icon-left {
  .l-btn-text {
    margin: 0 4px 0 24px;
  }
  .l-btn-icon {
    left: 4px;
  }
}
.l-btn-icon-right {
  .l-btn-text {
    margin: 0 24px 0 4px;
  }
  .l-btn-icon {
    right: 4px;
  }
}
.l-btn-icon-top {
  .l-btn-text {
    margin: 20px 4px 0 4px;
  }
  .l-btn-icon {
    top: 4px;
    left: 50%;
    margin: 0 0 0 -8px;
  }
}
.l-btn-icon-bottom {
  .l-btn-text {
    margin: 0 4px 20px 4px;
  }
  .l-btn-icon {
    top: auto;
    bottom: 4px;
    left: 50%;
    margin: 0 0 0 -8px;
  }
}
.l-btn-focus {
  outline: $dev-header-text-color2 dotted thin;   //detail 开发端菜单栏选中时两条竖线颜色
}
.l-btn-large {
  .l-btn-text {
    line-height: 40px;
  }
  .l-btn-icon {
    width: 32px;
    height: 32px;
    line-height: 32px;
    margin-top: -16px;
  }
  .l-btn-icon-left {
    .l-btn-text {
      margin-left: 40px;
    }
  }
  .l-btn-icon-right {
    .l-btn-text {
      margin-right: 40px;
    }
  }
  .l-btn-icon-top {
    .l-btn-text {
      margin-top: 36px;
      line-height: 24px;
      min-width: 32px;
    }
    .l-btn-icon {
      margin: 0 0 0 -16px;
    }
  }
  .l-btn-icon-bottom {
    .l-btn-text {
      margin-bottom: 36px;
      line-height: 24px;
      min-width: 32px;
    }
    .l-btn-icon {
      margin: 0 0 0 -16px;
    }
  }
  .l-btn-left {
    .l-btn-empty {
      margin: 0 4px;
      width: 32px;
    }
  }
}
.l-btn-disabled,
.l-btn-disabled:hover {
    background: $button2-l-btn-background-hover;  //detail 鼠标移动时背景颜色
    color: $button2-l-btn-color-hover;
    border: 1px solid $button2-l-btn-border-color; //detail 鼠标移动时边框颜色
//background: -webkit-linear-gradient(top,#ffffff 0,#eeeeee 100%);
//background: -moz-linear-gradient(top,#ffffff 0,#eeeeee 100%);
//background: -o-linear-gradient(top,#ffffff 0,#eeeeee 100%);
//background: linear-gradient(to bottom,#ffffff 0,#eeeeee 100%);
//background-repeat: repeat-x;
//filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0);
//filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#eeeeee,GradientType=0);
}
.l-btn-plain-disabled,
.l-btn-plain-disabled:hover {
  background: transparent;
  filter: alpha(opacity=50);
}
.l-btn-selected,
.l-btn-selected:hover {
  background: $common-all-main-background;   //detail 被选中是背景颜色
  filter: none;
}
.l-btn-plain-selected,
.l-btn-plain-selected:hover {
  background: $common-all-main-background;   //detail 被选中是背景颜色
}
